<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%request.setCharacterEncoding("utf-8");%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>建议申请</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<link rel="stylesheet" type="text/css" href="wzp/css/eventaccept.css">
	<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
	<script type="text/javascript" src="js/jquery.alphanumeric.pack.js"></script>
	<script type="text/javascript" src="js/jquery.validate.pack.js"></script> 
	
    <script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>
  </head>
  
  <body>
  <span id="eid" style="display:none"><%=request.getParameter("eventId")%></span>
  <span id="eventName" style="display:none">${eventId}</span>
  
 <!-- 弹出窗口的div -->
	<div class="demo">
	
    <!-- 负责人选择窗口 -->
    <div id="deptChooseWindow">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="DeptForm">
                              <table width="540" align="center">
                              <thead>
                              <tr><td align="left"> 
                              		<div style="margin-top: 5px">受理单号：<span id='eventId' style='color:red;font-size:18'><%=request.getParameter("eventId")%></span></div>
							  		
							  																																
							  		<div style="margin-top: 5px"><span style='float: left;'>建议申请内容*：</span>
									 <textarea id="applyString" style='width:420;height:120'>现有"${eventId}"事件,事件编号为<%=new String(request.getParameter("eventId").getBytes("ISO-8859-1"),"utf-8")%>,请登陆提交处置建议."</textarea>
									  </div>
								
							   <div class="applyStringLengthLimit">申请内容在70字内且不可为空</div><br/>
							  
									  <div>最迟提交时间*: <input id="lastestTime" type="text" class="Wdate" size="18" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" /></div>
							  <div class="applyStringLengthLimit"style="display:none">时间为必选</div>
							   </td>
							   </tr>
							   
							   <tr>
							   <td>
							    <input value="选择人员" class="showSelectArea" type="button"/><div class="applyStringLengthLimit" style="display:none">专家不可为空</div>
							   </td>
							   </tr>
							   </thead>
                                 <tbody id="selectArea" style="display:none">
									 <tr id='expertArea' >
								  <td align="left">
									   <span class="span_n" >专家领域选择*:</span>
									    <select id="expertAreaList">
									     <option>选择</option>
									    </select>
								  </td>
							   </tr>
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
									   <tr>
									  <td width="200" height="200px" align="right">
										<select style="width:300;height:180" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
									  <td width="80" align="center" > 
									    <img id="addDept" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
									  <td width="200" height="200px" align="left" >
                                       <select style="width:300;height:180" id="selDepts" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
										    </table>
										 </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
                            </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	
	</div>
	事件编号:${eventId}
	<!-- 弹出窗口的end -->
	<table width="100%" border="0"  cellpadding="0" cellspacing="0">
			<tr height="30">
				<td height="30">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="/ag/tab/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1108" background="/ag/tab/images/tab_05.gif"><img src="/ag/tab/images/311.gif" width="16" height="16" /><span class="STYLE4">处置建议</span></td>
        <td align="center" width="280" background="/ag/tab/images/tab_05.gif"></td>
         <td align="center" width="280" background="/ag/tab/images/tab_05.gif"></td>
        <td width="14" ><img src="/ag/tab/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="9" background="/ag/tab/images/tab_12.gif">
								
							</td>
							<td bgcolor="#dceffd">
								<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#84b1d3">
									<tr>
										<td width="6%" height="18" background="/ag/tab/images/tab_14.gif">
											<div align="center" class="STYLE2 STYLE1">
												查看
											</div>
										</td>
									<!-- 	<td width="10%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												事件编号
											</div>
										</td>
									
										<td width="10%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												处置建议编号
											</div>
										</td>
									-->
										<td width="25%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												处置建议部份详情
											</div>
										</td>
										<td width="7%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												申请人
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												申请时间
											</div>

										</td>
										<td width="15%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												建议人
											</div>

										</td>
										<td width="15%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												建议时间
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												提交人
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												提交时间
											</div>
										</td>
										
								
									</tr>

									<c:forEach var='da' items='${tbDisposalAdviceList}' varStatus='status'>
										<tr>
											<td bgcolor="#ffffff">
											 	<div style="cursor:pointer" class="detail">详情</div>
										<!--	<input name="check" type="checkbox" value="1" />-->
											</td>
											<td bgcolor="#ffffff" class='daid' style='display:none'>
												${da.daId}
											</td>
										
											<td bgcolor="#ffffff" class="content_section"></td>
											
											<td bgcolor="#ffffff">
												${da.tbUserByApplyUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daApplyTime}
											</td>
											
											<td bgcolor="#ffffff">
												${da.tbUserByAdviceUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daAcceptTime}
											</td>
											
											<td bgcolor="#ffffff">
												${da.tbUserBySubmitUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daSubmitTime}
											</td>
											
											<td style="display: none" class="content">
												${da.daContent}
											</td>
											<div class='adviceDetail' type='建议详情' name=${da.daId}>${da.daContent}</div>
										</tr>
									</c:forEach>
								</table>
							</td>
							<td width="9" background="/ag/tab/images/tab_16.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
		<tr>
				<td height="29">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="29">
								<img src="images/tab_20.gif" width="15" height="29" />
							</td>
							<td background="images/tab_21.gif" style="width:100%"></td>
							<td width="14">
								<img src="images/tab_22.gif" width="14" height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	
	<div id="alert_result">
		<p class="alert_result"></p>
	</div>
	</body>
	<script type="text/javascript" src="work/js/adviceApply.js"></script> 
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script type="text/javascript" src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin/jquery.ui.accordion.js"></script>
</html>
